import * as ajax from "../../common/ajax";

export const select = id => ajax.post("/member/event/select/" + id, {});

export const getPageCount = (eventName, leaderName) =>
  ajax.get("/member/event/select/page/count", {
    eventName: eventName,
    leaderName: leaderName
  });

export const getPage = (index, eventName, leaderName) =>
  ajax.get("/member/event/select/page/" + index, {
    eventName: eventName,
    leaderName: leaderName
  });

export const pageSize = 20;
